let state = {   
    stateA:'stateA'
}

let mutations = {
    muA(state){
        state.stateA = 'STATEAA'
    }
}   

let actions = {
    acA(context){
        context.commit('muA')
    }
}   

let getters =  {
    grA(state,getters,rootState,rootGetters){
        console.log(state)
        console.log(getters)
        console.log(rootState)
        console.log(rootGetters)
    }
}

export default {
    namespaced:true,
    state,
    mutations,
    actions,
    getters
}